package com.ruoyi.system.entity;
import cn.hutool.core.util.StrUtil;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import java.util.Date;
import java.io.Serializable;

/**
 * (SysEnvironmentPoint)实体类
 * @since 2022-12-01 16:50:30
 */
@Data
public class SysEnvironmentPoint implements Serializable {
    private static final long serialVersionUID = -23191704408696016L;
    
    private Integer id;
    /**
     * 单元类别
     */
    @Excel(name = "单元类别")
    private String unitType;
    /**
     * 单元名称
     */
    @Excel(name = "单元名称")
    private String unitName;
    /**
     * 单元位置描述
     */
    @Excel(name = "单元位置描述")
    private String unitAddressInfo;
    
    private Integer planId;
    /**
     * 	处置方案名称
     */
    @Excel(name = "处置方案名称")
    private String planName;
    /**
     * 位号
     */
    @Excel(name = "位号")
    private String bitNumber;
    /**
     * 实时数据库位号
     */
    @Excel(name = "实时数据库位号")
    private String databaseBitNumber;
    /**
     * 测点描述
     */
    @Excel(name = "测点描述")
    private String pointInfo;
    /**
     * 参数
     */
    @Excel(name = "参数")
    private String param;
    /**
     * 池容量
     */
    @Excel(name = "池容量")
    private String tankage;
    /**
     * 低报
     */
    @Excel(name = "低报")
    private String lowQuota;
    /**
     * 高报
     */
    @Excel(name = "高报")
    private String highQuota;
    /**
     * 高高报
     */
    @Excel(name = "高高报")
    private String highAndMighty;
    /**
     * 地图x坐标
     */
    @Excel(name = "地图x坐标")
    private String coordinatesX;
    /**
     * 地图y坐标
     */
    @Excel(name = "地图y坐标")
    private String coordinatesY;
    
    private Date createTime;
    
    private Date updateTime;

    /**
     * 实时数据库值
     */
    private String av;

    public String getAv() {
        if (StrUtil.isEmpty(av)) {
            this.av = "0";
        }
        return av;
    }


}

